export const routes = [
  {
    path: '/',
    name: 'Layout',
    component: () => import('@/views/Layout.vue'),
    redirect: '/searchSongMenuPager',
    children: [
      {
        path: 'searchSongMenuPager',
        name: 'SearchSongMenuPager',
        component: () => import('@/views/SearchSongMenuPager.vue'),
      },
      {
        path: 'login',
        name: 'Login',
        component: () => import('@/views/Login.vue'),
      },
      {
        path: 'setting',
        name: 'Setting',
        component: () => import('@/views/Setting.vue'),
      },
      {
        path: 'songMenuPage',
        name: 'SongMenuPage',
        component: () => import('@/views/SongMenuPage.vue'),
      },
      {
        path: 'searchPage',
        name: 'SearchPage',
        component: () => import('@/views/SearchPage.vue'),
      },
      {
        path: 'nativeMusic',
        name: 'NativeMusic',
        component: () => import('@/views/NativeMusic.vue'),
      },
    ],
  },
];
